#takes the meta model specification or parametric sweep and creates
#an array of dataframes with 
#1 order and 
#2 list of parameters
#e.g. -0.9,0.9,.3;.1 results in 7 AR(2) models : ar(-0.9,.1), ar(0.-0.6,.1), etc...
# is a string of model parameter parametric sweep(s)
"get.specifications" = function(model.parameters.field){
	parameter.sweep.array = NULL
	parameters = NULL
	parameter.array = NULL
	if(model.parameters.field == "n"){
		parameter.array = "n";
	}else{
		sweeps = unlist(strsplit(model.parameters.field,";"));
		for(k in 1:(length(sweeps))){
			parameter.sweep.array= as.numeric(unlist(strsplit(sweeps[k],",")));
			parameters = get.parameters.from.sweep(parameter.sweep.array)$parameters
			if (k==1){
				parameter.array = parameters; 
			}else{
				parameter.array = as.matrix(as.list(outer(parameter.array,parameters,FUN="concatenate.nums")));
			}
		}
		
	}
	   return(structure(list(ordered.params = parameter.array)));

}